<?php
namespace app\admin\controller;
use think\Controller;
class Index extends Controller
{
    public function index()
    {
   return view();
	}
	
	public function clearcache(){
		$res = Cache(NULL);
		if($res){
			$this->success('缓存清除成功!');
		}else{
			$this->error('缓存清除失败');
		}
	}
}
